Optimal. Leaf size=19 \[ -\frac{\sin (e+f x) \cos ^3(e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0238439, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048, Rules used = {4043} \[ -\frac{\sin (e+f x) \cos ^3(e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4043
Rubi steps
\begin{align*} \int \cos ^4(e+f x) \left (-4+3 \sec ^2(e+f x)\right ) \, dx &=-\frac{\cos ^3(e+f x) \sin (e+f x)}{f}\\ \end{align*}
Mathematica [A] time = 0.0288244, size = 31, normalized size = 1.63 \[ -\frac{\sin (2 (e+f x))}{4 f}-\frac{\sin (4 (e+f x))}{8 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.047, size = 45, normalized size = 2.4 \begin{align*}{\frac{1}{f} \left ( - \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{3}+{\frac{3\,\cos \left ( fx+e \right ) }{2}} \right ) \sin \left ( fx+e \right ) +{\frac{3\,\cos \left ( fx+e \right ) \sin \left ( fx+e \right ) }{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.925892, size = 45, normalized size = 2.37 \begin{align*} -\frac{\tan \left (f x + e\right )}{{\left (\tan \left (f x + e\right )^{4} + 2 \, \tan \left (f x + e\right )^{2} + 1\right )} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.469055, size = 43, normalized size = 2.26 \begin{align*} -\frac{\cos \left (f x + e\right )^{3} \sin \left (f x + e\right )}{f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1582, size = 34, normalized size = 1.79 \begin{align*} -\frac{\tan \left (f x + e\right )}{{\left (\tan \left (f x + e\right )^{2} + 1\right )}^{2} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]